package guojin;

import java.io.InputStream;

/**
 * @author haoge
 * @version $Id test.java, v 0.1 2021-06-09 0:08 haoge Exp $$
 */
public class test {


    // 根据配置文件的路径，将配置文件加载成字节输入流，存储在内存中
    public static InputStream getResourceAsSteam(String path){
        InputStream resourceAsStream = test.class.getClassLoader().getResourceAsStream(path);
        return  resourceAsStream;

    }

    }
